import request from '../request.js'

function data() {
	return request.get('/api/home/data')
}
function getCorpList(param) {
	return request.get('/api/home/getCorpList',param)
}
function getDeptList(param) {
	return request.get('/api/home/getDeptList',param)
}
function getPostList(param) {
	return request.get('/api/home/getPostList',param)
}

function setCorp(data) {
	return request.post('/api/home/setCorp',data)
}

function getTip() {
	return request.get('/api/home/getTip',)
}
function getStaff() {
	return request.get('/api/home/getStaff',)
}

function getCertificationType() {
	return request.get('/api/home/getCertificationType',)
}

function getMajor() {
	return request.get('/api/home/getMajor',)
}
function getProject() {
	return request.get('/api/home/getProject',)
}

function getBidding() {
	return request.get('/api/home/getBidding',)
}

function getCorpCertification() {
	return request.get('/api/home/getCorpCertification',)
}
function getProjectType() {
	return request.get('/api/home/getProjectType',)
}

function getProjectNature() {
	return request.get('/api/home/getProjectNature',)
}

function getCorpCooperative(params) {
	return request.get('/api/home/getCorpCooperative',params)
}
function getBiddingSurety() {
	return request.get('/api/home/getBiddingSurety')
}

export default {
    data,
	getCorpList,
	getDeptList,
	getPostList,
	setCorp,
	getTip,
	getStaff,
	getCertificationType,
	getMajor,
	getProject,
	getBidding,
	getCorpCertification,
	getProjectType,
	getProjectNature,
	getCorpCooperative,
	getBiddingSurety,
}